<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<?php echo $form->textFieldRow($model,'id',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'customer_id',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'customer_code',array('class'=>'span5','maxlength'=>20)); ?>

	<?php echo $form->textFieldRow($model,'loan_code',array('class'=>'span5','maxlength'=>20)); ?>

	<?php echo $form->textFieldRow($model,'loan_amount',array('class'=>'span5','maxlength'=>15)); ?>

	<?php echo $form->textFieldRow($model,'interest',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'period',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'period_type',array('class'=>'span5','maxlength'=>20)); ?>

	<?php echo $form->textFieldRow($model,'days_of_period',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'paying_amount',array('class'=>'span5','maxlength'=>15)); ?>

	<?php echo $form->textFieldRow($model,'installments',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'payment_per_installment',array('class'=>'span5','maxlength'=>15)); ?>

	<?php echo $form->textFieldRow($model,'last_period_payment',array('class'=>'span5','maxlength'=>15)); ?>

	<?php echo $form->textFieldRow($model,'active',array('class'=>'span5','maxlength'=>1)); ?>

	<?php echo $form->textFieldRow($model,'status',array('class'=>'span5','maxlength'=>20)); ?>

	<?php echo $form->textFieldRow($model,'createtime',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'updatedby_user_id',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'modifytime',array('class'=>'span5')); ?>

	<div class="form-actions">
		<?php $this->widget('bootstrap.widgets.TbButton', array(
			'buttonType'=>'submit',
			'type'=>'primary',
			'label'=>'Search',
		)); ?>
	</div>

<?php $this->endWidget(); ?>
